<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /fasttmp/mkdist-qt-4.3.5-1211793125/qtopia-core-opensource-src-4.3.5/src/gui/widgets/qabstractbutton.cpp -->
<head>
  <title>Qt 4.3: Qt 3 Support Members for QAbstractButton</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"><a href="http://www.trolltech.com"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></a></td></tr></table><h1 align="center">Qt 3 Support Members for QAbstractButton</h1>
<p><b>The following class members are part of the <a href="qt3support.html">Qt 3 support layer</a>.</b> They are provided to help you port old code to Qt 4. We advise against using them in new code.</p>
<p><ul><li><a href="qabstractbutton.html">QAbstractButton class reference</a></li></ul></p>
<h3>Public Functions</h3>
<ul>
<li><div class="fn"/><b><a href="qabstractbutton-qt3.html#QAbstractButton-2">QAbstractButton</a></b> ( QWidget * <i>parent</i>, const char * <i>name</i>, Qt::WindowFlags <i>f</i> = 0 )</li>
<li><div class="fn"/>QKeySequence <b><a href="qabstractbutton-qt3.html#accel">accel</a></b> () const</li>
<li><div class="fn"/>QIcon * <b><a href="qabstractbutton-qt3.html#iconSet">iconSet</a></b> () const</li>
<li><div class="fn"/>bool <b><a href="qabstractbutton-qt3.html#isOn">isOn</a></b> () const</li>
<li><div class="fn"/>bool <b><a href="qabstractbutton-qt3.html#isToggleButton">isToggleButton</a></b> () const</li>
<li><div class="fn"/>const QPixmap * <b><a href="qabstractbutton-qt3.html#pixmap">pixmap</a></b> () const</li>
<li><div class="fn"/>void <b><a href="qabstractbutton-qt3.html#setAccel">setAccel</a></b> ( const QKeySequence &amp; <i>key</i> )</li>
<li><div class="fn"/>void <b><a href="qabstractbutton-qt3.html#setIconSet">setIconSet</a></b> ( const QIcon &amp; <i>icon</i> )</li>
<li><div class="fn"/>void <b><a href="qabstractbutton-qt3.html#setPixmap">setPixmap</a></b> ( const QPixmap &amp; <i>p</i> )</li>
<li><div class="fn"/>void <b><a href="qabstractbutton-qt3.html#setToggleButton">setToggleButton</a></b> ( bool <i>b</i> )</li>
</ul>
<ul>
<li><div class="fn"/>60 public functions inherited from <a href="qwidget.html#public-functions">QWidget</a></li>
<li><div class="fn"/>8 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
<li><div class="fn"/>8 public functions inherited from <a href="qpaintdevice.html#public-functions">QPaintDevice</a></li>
</ul>
<h3>Public Slots</h3>
<ul>
<li><div class="fn"/>void <b><a href="qabstractbutton-qt3.html#setOn">setOn</a></b> ( bool <i>b</i> )</li>
</ul>
<ul>
<li><div class="fn"/>1 public slot inherited from <a href="qwidget.html#public-slots">QWidget</a></li>
</ul>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QAbstractButton-2"></a>QAbstractButton::QAbstractButton ( <a href="qwidget.html">QWidget</a> * <i>parent</i>, const char * <i>name</i>, <a href="qt.html#WindowType-enum">Qt::WindowFlags</a> <i>f</i> = 0 )</h3>
<p>Use <a href="qabstractbutton.html">QAbstractButton</a>(<a href="qwidget.html">QWidget</a> *) instead.</p>
<p>Call <a href="qobject.html#objectName-prop">setObjectName</a>() if you want to specify an object name, and <a href="qwidget.html#setParent">setParent</a>() if you want to set the window flags.</p>
<h3 class="fn"><a name="accel"></a><a href="qkeysequence.html">QKeySequence</a> QAbstractButton::accel () const</h3>
<p>Use <a href="qabstractbutton.html#shortcut-prop">shortcut</a>() instead.</p>
<p>See also <a href="qabstractbutton-qt3.html#setAccel">setAccel</a>().</p>
<h3 class="fn"><a name="iconSet"></a><a href="qicon.html">QIcon</a> * QAbstractButton::iconSet () const</h3>
<p>Use <a href="qabstractbutton.html#icon-prop">icon</a>() instead.</p>
<p>See also <a href="qabstractbutton-qt3.html#setIconSet">setIconSet</a>().</p>
<h3 class="fn"><a name="isOn"></a>bool QAbstractButton::isOn () const</h3>
<p>Use <a href="qabstractbutton.html#checked-prop">isChecked</a>() instead.</p>
<h3 class="fn"><a name="isToggleButton"></a>bool QAbstractButton::isToggleButton () const</h3>
<p>Use <a href="qabstractbutton.html#checkable-prop">isCheckable</a>() instead.</p>
<h3 class="fn"><a name="pixmap"></a>const <a href="qpixmap.html">QPixmap</a> * QAbstractButton::pixmap () const</h3>
<p>This compatibility function always returns 0.</p>
<p>Use <a href="qabstractbutton.html#icon-prop">icon</a>() instead.</p>
<p>See also <a href="qabstractbutton-qt3.html#setPixmap">setPixmap</a>().</p>
<h3 class="fn"><a name="setAccel"></a>void QAbstractButton::setAccel ( const <a href="qkeysequence.html">QKeySequence</a> &amp; <i>key</i> )</h3>
<p>Use <a href="qabstractbutton.html#shortcut-prop">setShortcut</a>() instead.</p>
<p>See also <a href="qabstractbutton-qt3.html#accel">accel</a>().</p>
<h3 class="fn"><a name="setIconSet"></a>void QAbstractButton::setIconSet ( const <a href="qicon.html">QIcon</a> &amp; <i>icon</i> )</h3>
<p>Use <a href="qabstractbutton.html#icon-prop">setIcon</a>() instead.</p>
<p>See also <a href="qabstractbutton-qt3.html#iconSet">iconSet</a>().</p>
<h3 class="fn"><a name="setOn"></a>void QAbstractButton::setOn ( bool <i>b</i> )&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Use <a href="qabstractbutton.html#checked-prop">setChecked</a>() instead.</p>
<p>See also <a href="qabstractbutton-qt3.html#isOn">isOn</a>().</p>
<h3 class="fn"><a name="setPixmap"></a>void QAbstractButton::setPixmap ( const <a href="qpixmap.html">QPixmap</a> &amp; <i>p</i> )</h3>
<p>Use <a href="qabstractbutton.html#icon-prop">setIcon</a>() instead.</p>
<p>See also <a href="qabstractbutton-qt3.html#pixmap">pixmap</a>().</p>
<h3 class="fn"><a name="setToggleButton"></a>void QAbstractButton::setToggleButton ( bool <i>b</i> )</h3>
<p>Use <a href="qabstractbutton.html#checkable-prop">setCheckable</a>() instead.</p>
<p>See also <a href="qabstractbutton-qt3.html#isToggleButton">isToggleButton</a>().</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 2008 <a href="trolltech.html">Trolltech</a></td>
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">Qt 4.3.5</div></td>
</tr></table></div></address></body>
</html>
